package bizapi.sinosoft.com;

import com.weibo.api.motan.common.MotanConstants;
import com.weibo.api.motan.util.MotanSwitcherUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by xiaoqian on 2016/9/27.
 */
@SpringBootApplication
public class BizApiApplication {

    public static void main(String []args){
        SpringApplication.run(BizApiApplication.class,args);
        MotanSwitcherUtil.setSwitcherValue(MotanConstants.REGISTRY_HEARTBEAT_SWITCHER, true);
    }
}
